﻿<%@ Page Title="" Language="C#" MasterPageFile="~/DefaultSite.Master" AutoEventWireup="true" CodeBehind="VoluntaryActivityDetailBadmi.aspx.cs" Inherits="SocialIn.Web.Search.VoluntaryActivityDetailBadmi" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<b>::봉사 이벤트 검색 - 상세 화면::</b><br /><br />

<table border="1">
    <tr>
        <td><b>로그인 상태에 따라 달라지는 영역</b></td>
        <td>
            <b>바드미 영역입니다.</b><br />
            <asp:LinkButton ID="btnModify" runat="server" onclick="btnModify_Click">해당 건 수정하기</asp:LinkButton>&nbsp;&nbsp;
            <asp:LinkButton ID="btnCancle" runat="server" onclick="btnCancle_Click" Visible="false">해당 건 취소하기</asp:LinkButton>
        </td>
    </tr>
    <tr>
        <td><b>봉사 정보</b>
        </td>
        <td>
            <uc:UCVoluntaryActivity ID="UCVoluntaryAC" runat="server" />
        </td>
    </tr>
    <tr>
        <td><b>지원해주신 재능기부자들</b></td>
        <td>
            <asp:DataList ID="dltDrimi" runat="server" onitemcommand="dltDrimi_ItemCommand">
                <HeaderTemplate>
                <table border="0">
                </HeaderTemplate>
                <ItemTemplate> 
                    <tr>
                        <td width="80"><%# DataBinder.Eval(Container.DataItem, "UserName")%></td>
                        <td width="100"><%# DataBinder.Eval(Container.DataItem, "UserName")%></td>
                        <td width="100">
                            <asp:LinkButton ID="btnEdit" runat="server" Text="수락" CommandName="Allow" Operation="Update" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "USERID").ToString() %>'>
                                수락</asp:LinkButton>
                            &nbsp;&nbsp;
                            <asp:LinkButton ID="btnDelete" runat="server" Text="거절" CommandName="Deny" Operation="Deny" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "USERID").ToString()%>'>
                                거절</asp:LinkButton></td>
                    </tr>
                </ItemTemplate>
                <AlternatingItemTemplate>
                    <tr>
                        <td width="80"><%# DataBinder.Eval(Container.DataItem, "UserName")%></td>
                        <td width="100"><%# DataBinder.Eval(Container.DataItem, "UserName")%></td>
                        <td width="100">
                            <asp:LinkButton ID="btnEdit" runat="server" Text="수락" CommandName="Allow" Operation="Update" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "USERID").ToString() %>'>
                                수락</asp:LinkButton>
                            &nbsp;&nbsp;
                            <asp:LinkButton ID="btnDelete" runat="server" Text="거절" CommandName="Deny" Operation="Deny" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "USERID").ToString()%>'>
                                거절</asp:LinkButton></td>
                    </tr>
                </AlternatingItemTemplate>
                <FooterTemplate>                                        
                </table>
                </FooterTemplate>
            </asp:DataList>
<%--
            <asp:Repeater ID="rptDrimiList" runat="server">
                <HeaderTemplate>
                    <table border="1">
                </HeaderTemplate>
                <ItemTemplate>
                        <tr>
                            <td><%# DataBinder.Eval(Container.DataItem, "USERID")%></td>
                            <td><%# DataBinder.Eval(Container.DataItem, "STATUS")%></td>
                            <td><%# DataBinder.Eval(Container.DataItem, "UserName")%></td>
                        </tr>
                </ItemTemplate>
                <FooterTemplate>        
                    </table>
                </FooterTemplate>
            </asp:Repeater>--%>
        </td>
    </tr>
</table>
</asp:Content>
